package com.js.server.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author ：js
 * @date ：Created in 2021-03-04 15:57
 * @description: 用户登录实体类
 * @version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
//可以链式调用set,get方法
//@Accessors(chain = true)
//可以链式调用set,get方法甚至省略set和get两个字段
@Accessors(fluent = true)
@ApiModel(value = "用户登录实体类", description = "")
public class AdminLoginParam {

    @ApiModelProperty(value = "用户名", required = true)
    private String username;
    @ApiModelProperty(value = "密码", required = true)
    private String password;
}
